$tabbar-header-height: 80rpx;
$tabbar-header-margin: 20rpx;

.tabbar-header {
  position: fixed;
  width: 100%;
  height: $tabbar-header-height;
  margin-bottom: $tabbar-header-margin;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;

  > view {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid transparent;
    color: $text-color;
    font-size: 28rpx;

    &.actived {
      color: $primary-color;
      border-color: $primary-color;
    }
  }
}

.tabbar-content {
  padding-top: $tabbar-header-height + $tabbar-header-margin;

  .swiper {
    min-height: calc(100vh - ($tabbar-header-height + $tabbar-header-margin));

    swiper-item {
      overflow-y: initial !important;
    }
  }
}